package com.sy.dto;

import com.sy.entity.User;

/**
 * Description:
 * date: 2021/1/19 16:04
 * 返回给前端的用户周排名的相关信息
 * @author:
 * @since JDK 1.8
 */
public class UserWeekRankingInfo {
    /**
     *该用户
     */
    private User user;

    /**
     * 该用户的排行分值
     */
    private Double score;

    /**
     * 该用户的总获赞数
     */
    private Integer thumbCount;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Integer getThumbCount() {
        return thumbCount;
    }

    public void setThumbCount(Integer thumbCount) {
        this.thumbCount = thumbCount;
    }

    @Override
    public String toString() {
        return "UserWeekRankingInfo{" +
                "user=" + user +
                ", score=" + score +
                ", thumbCount=" + thumbCount +
                '}';
    }
}
